

libmuduo.so:muduo.o
	g++ muduo.o -o libmuduo.so -shared
	rm -f muduo.o

muduo.o:muduo.cpp
	g++ -c muduo.cpp -o muduo.o -I../include/ -fPIC -std=c++14

.PHONY:clean
clean:
	rm -f libmuduo.so muduo.o

